Clockwork mechanics